buggy stencil buffer rendering