Added support for Firefox copy/paste event