TileBuilder fixed bugs