fix enable/disable of marker dragging