Fixed for macbooks with gyroscope.