Make treeview nodes reordering work properly.