I applied the patch from #5, but I noticed that it caused file uploads to not work as expected because file/file.js was still trying to trigger and act on mousedown.
I have updated the patch from #5 to include changing mousedown to mouseup for file/file.js as well.