Forcing Ai to go back to nav mesh when leaves it

I figure ity it was a nav modifier inside a blue print that was causing this glitch, the said nav modifier is turning the nav mesh red in a huge area:

this is the nav modifier inside the door blue print:

i cant change the size or anything to make that area smaller, how can i fix this?