Fix selecting fields in Firefox