Fixed bug where only one Spline instance is made