Fixing a bug where this.input and this.inputMirror were undefined