Tilemap a* bug

So I’m making this game where a bot hunts you down and shoots you, but it uses tilemaps so I’m using the tilemap a* extension, but sometimes the bot gets stuck in a wall, which is just plain annoying as it can’t move anymore.

(Not finished)