WebGL filter fixes

Same as last one, but much smarter :)