disable node dragging when editing a node is in edit mode