fixed issues on color alternations

fixed a tiny firefox per mac bug