Fix firefox focus issue