Fix assertion on marker.dragging

Fixes issue #256