Fix loading on drag-drop of files