Fix pasting in Firefox.