Fixed the rotate bug... 3 weeks after the class ended :)