fix error with empty folder uploading on Google Chrome
fix problem of DnD, clipboard uploading with Google Chrome