BrokenLine spline smooth bug fix