Change how event handler handles scope when in shadowDom vs when outside.