AI Stuck on doors corner

What is more likely happening is a door is not modifying navmesh. You open/close door, but have you updated navmesh? Press P to see it. More likely navmesh is static. The way to fix it is to set navmesh to be realtime dynamic and make sure that that door has “Can ever affect navigation” is ticked.