Fix the angle-duck rotation counter code.