Fixed gradual leg length changeover during flight to be timestep-aware (more consistent behavior for different timesteps now)