fix bug where dragging an edge after clicking a node drags the node