fix scrubber color detection in firefox