Path smoothing fixes