Fixed closedLoop and non-closedLoop B-spline behavior.