fix(block_factory): should not load template or call onShadowRoot when scope is destroyed