STENCIL buffer and DEPTH buffer, attempt a fix for GL errors.