Fix grayscale filter on firefox