How Can I stop my spline Mesh from distorting Like this!

I’m creating some spline fence systems in the construction script, And im using the spline mesh to do it.
But Im experiencing An issue, being that My the spline is bending my mesh and distorting them near corners Even with spline point types set to linear like in the pics.
I set them to linear because I didn’t want them to bend BUT:(