clear selection when dragging another node