Hack to fix rotation flips. Detects and continues long rotations under common conditions.