Change check for ff

Fixes the focus issues in Chrome 38.