work on fixing focus loss in firefox