Maybe targeting the sub-element from the current view root is a good idea: 

```js
    this.$(".login-iframe-container").append(iframe);
```