fixes shaky-gyro crash