Tile number bug fix.