Fix rotation on iOS8