merged TileState back into TerrainLayer