
The smaller the train, the worse the misalignment. (ignore the gap between the the carriages of the second train) This misalignment is present for every train you rotate.
Note: I suppose that the misalignment on every second track in horizontal position is just me being lazy, but I would like to point out that the alignment I used there is the width of the sprite /2, but this causes the trains in both directions to be disaligned equally but opposite.
Why is this happening, and how do I get rid of it?
Source