Markers now select and deselect correctly