diff --git a/openseadragon.js b/openseadragon.js
index 02931477..10ab1816 100644
--- a/openseadragon.js
+++ b/openseadragon.js
@@ -1,5 +1,5 @@
/**
- * @version OpenSeadragon 0.9.66
+ * @version OpenSeadragon 0.9.67
*
* @fileOverview
*
@@ -3602,14 +3602,7 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype,
} else if ( $.isPlainObject( tileSource ) ){
if( $.isFunction( tileSource.getTileUrl ) ){
//Custom tile source
- customTileSource = new $.TileSource(
- tileSource.width,
- tileSource.height,
- tileSource.tileSize,
- tileSource.tileOverlap,
- tileSource.minLevel,
- tileSource.maxLevel
- );
+ customTileSource = new $.TileSource(tileSource);
customTileSource.getTileUrl = tileSource.getTileUrl;
_this.open( customTileSource );
} else {