Moving stencil clearing to first StencilMask phase