Fixed UIDeviceOrientation vs UIInterfaceOrientation bug