Fix HTML5 drag events on Firefox

See http://stackoverflow.com/a/11531582/679227