Updated WebGL clipping for more error prone.