And the code near "this.image && this.image.lineTo" is related to fixTile.
This client-site function is used to compute changes for tiles.
And for performance reasons it directly stores the canvas-context into this tile.