Make AI Strictly follow Nav Mesh bounds Only?

I noticed that my roaming AI is wandering off away from the nav mesh and disturbing parts of the level as a result.

Is there a way to make the ai strictly only wander within the Nav mesh bounds? Thanks!