Fixed an issue that prevented trains from being placed on railway tracks, including curves and bridge sections.