A fix in dragging nodes in the graph around