fixed weird spline bug in SplineOrientation