Handle input focus better in Firefox.