fixed stencil map rendering of mipmaps