bugfix: crashed if dragging properties to the map