Unable to get imported template from import JS when element made with createElement

When `document.createElement('fancy-div')` is called, `document.currentScript.ownerDocument` inside the `FancyDiv` `constructor` refers to the `index.html` document.

The same `document.currentScript.ownerDocument` called by having `<fancy-div></fancy-div>` within `index.html` refers to the imported `fancy-div.html` document.

There should be two "is fancy"s rendered here: