TileLayer API change and texture scaling