Fix bug: clicks triggering on node drag

Click events are now suppressed when nodes are dragged