Corrected encoder scaling.