Makes sure that document.activeElement returns a shadow host when a element in the correspoinding shadow tree is focused.