Improving tile management in TileMap.