move templates into inner content, fixes native shadow dom issue