The problem is that this crane/ship is 5 blocks wide in the narrowest point and the rails are 6 blocks apart. Because of that, when the ship is in the middle it is half the block away from both rails, which keep the ship in place, but if building crossroads, they have 6 x 6 empty space.
The...