Reset stencil mask operation after stencil update