BezierCurve: Error check creation of both buffers