Add index to position convert function in TileMap2D