update the calculations should this.scale change
this.offset = dojo.coords(this.domNode,true); this._imageSize = { w: this.offset.w, h:this.offset.h }; this._zoomSize = { w: this._imageSize.w * this.scale, h: this._imageSize.h * this.scale };