fixed workaround for nvidia
fixed workaround for nvidia

seems to be the only way to make it work on nvidia.
"NaN == NaN" test doesnt work as it maybe gets optimized out.
why the hell do we not have isnan() and isinf() on webgl?

xdsopl/webgl