Marker visibility toggler fix