Fix for issue #51, where the context menu paste event does not work in firefox.