fix theme simulator for firefox