Add shadow dom to to the menuitem