fix how we get the shadow root