some glitches when character is too near the wall

some glitches when character is too near the wall for some scenes