Fixed bug with adding/dragging nodes.