Cancel renaming if dragged
There are two situations:
1) Rename enabled, then dragged. On release, the item will go back to normal mode
2) Dragged, no rename will be enabled afterwards