Improve plugins.dragNodes