Fix unParent and rotation bug