Distributrains: South edge bugfix

Fixed a bug where trains could crash the game when trying to find a path while touching the south (lower-right) edge of the map with their face Fixed a bug where the nuclear plant UI would somtimes unnecessarily show th…