Fix DeviceOrientation demo