Fixed the rotate transform