Fix dragging a node to another node