Fixed the rotation bug. Again.