Data binding and vertices issues

Setting cubic bézier curve control points with Data Binding does not give the same result as in the Editor. I have spline which is flipped (import from Inkscape) and although the original looks correct in the Rive editor without data binding, if I set exactly the same numbers for the control points at runtime, the curve looks different.