Fixing layer hiding when selecting new route