Fix scaling when speed is Infinity.