Fixed lighting (stencil) on WebGL.

Fixed turrets shooting at nothing.