Fix broken drag-n-drop files in the list functionality