Drag and drop a file to be uploaded does not seem to be working properly