Fix getNearestTile() and getNeighbors() functions