Fix: grayscale() no longer work (#1335)

There's a fix for issue #1335

I've made fallbacks for the three actual functions that can cause problems when used with css `filter` property : `grayscale`, `invert` and `saturate`.