Fix rotation so it works in iPad simulator