Fix up movement and rotation.