Focus & blur fixes for Gecko.