browser: fix colors in strict mode