Backout fix for devices without compass, did not work