Plane always look into camera

this only works if the object is at the root without nesting. if it’s wrapped by a group for instance which has a rotation it won’t face the camera. can this be fixed somehow?

edit:
i think i’ve figured it out, by wrapping the object into a group with both matrixAutoUpdate and matrixWorldAutoUpdate set to false:

    parent.updateMatrix()
    parent.updateWorldMatrix()
    parent.getWorldQuaternion(q)
    object.quaternion.copy(camera.quaternion).premultiply(q.invert())