Fix static init in web components.