Fixed issue with drag and drop not in the root directory, for folders and files