Fix problems related to switching between Fx tabs with Firebugactivated