added tileSize, tiled and tileOrigin everywhere