Fixed a problem with the drag-and-drop