Normalize key behavior in Firefox