Fix some keyCodes in Firefox