I tried hiding the menu instead. I see the same messed up title. Probably a gecko bug.  It looks like just hiding the button is fine.