Fixed framebuffer stencil management