Version 2.1.1 bug fix for closed spline