leaflet client: fix route selection window behavior per #1306