Fixed a bug in AI pathing on crossing tiles.