, event => {
          const parent = event.detail.parent;
          const node = event.detail.target;
          if (parent === this.$.viewContainer) {
            this.$.viewContainer.add(node);
          } else {
            parent.appendChild(node);
          }
          node.click();
        });
        this.addEventListener('move', event => {
          this.$.canvasControls.move(event.detail.type, event.detail.skipHistory);
        });
      }

      setActiveElement(el) {
        if (el === this) {
  