Ah yes, because this.tileSize is modified all the time for singleTile. So you have add this as the first line:

    this.tileSize = this.options.tileSize;