Fix color name lookup in Firefox