Fix object rotation.