fix enable/disable of marker dragging
Merge pull request #1551 from escaped/master

fix enable/disable of marker dragging