Fixing WebGL.

Initialize proper context in case of webgl throughout caat.
Fixes the following errors:
  WebGL: INVALID_VALUE: vertexAttribPointer: bad size, stride or offset
  WebGL: INVALID_OPERATION: uniformMatrix4fv: location is not from current program