Railways automatically align incorrectly when placed at the end of structures
When placing railways at the end of any structure, they consistently align in a fixed direction, regardless of the intended placement or rotation. This issue occurs irrespective of the player's orientation or the block being connected.