Fixed bug for setFixedRotation and setRotationFriction