Now the rotation works correctly!!!