fixed firefox title switch bug