 }
        };
      }

      connectedCallback() {
        super.connectedCallback();
        this.setActiveElement(this.$.viewContainer);
        this._loadGridState()

        this.refreshView();

        this.$.canvasControls.actionHistory = this.$.actionHistory;
        this.$.canvasControls.canvasElement = this.$.viewContainer;
        this.$.appControls.actionHistory = this.$.actionHistory;
        this.$.viewContainer.actionHistory = this.$.actionHistory;

        this.addEventListener('new-element',