fix(components): TranscludingComponentFactory passes a wrong element to onShadowRoot

Closes #1435