Correct loading of routes/tracks in layers (FS#1040)