Fix the DeviceOrientation coordinate system