Unify dropped node handling
This commit squashes the changes by @thomass Nodes dragged on other nodes are positioned before them in the list, nodes dropped between nodes are inserted between them.