Revert "grayscale fix for firefox"

This reverts commit 68d4cddce92809b350c5fcf92b14fb007f28e948.
Revert "Revert "grayscale fix for firefox""

This reverts commit dc3e04f2db8f7afda12b1586bfc9f90dd8a0bd64.
image fixes