Fix loading file from the recent file list when drag and drop