Fix Firefox bug with tab theme