Minor bug fix for DeviceOrientationControls.js