releaseClick(){
        if(this.lastClickedElement !== undefined) {
            this.lastClickedElement.wasClicked = false;
            this.lastClickedElement = undefined
        }
    }
Sets the elements' wasClicked property in the subcircuit to false