Fix for bad handling of device rotation