Workaround for no focusout event in FF