ReplaceAlphaWithStencil() has been checked for gstate.isStencilTestEnabled()