Upload on drag and drop bug fix

- Fixed bug where drag and drop upload could not retrieve file data.