Rotation now works as expected in MainMenu and SimpleLibrary. Fixes #336