Train carriages on spline change position and overlaps

Yes, the first part is straight, then a little curve.