How would I prevent my character from going into a wall while prone?

Might work with players but testing on my AI, the additional collision capsule does nothing when they back into obstacles.