Fix upload by drag and drop