The 3rd argument for getStyleElement is optional and will default to rootElement.styles & rootElement.automaticStyles, which should be acceptable for the use case here