Fixed reference to this.canvas