fixed an issue in method onNodeDrop that consisted of randomly resizing the dropped event.