Fix potential infinite loop in TempoCurve::set_position()