Being able to clip with slide animation

This is a bug, I am able to clip through walls for some reason just be shiftlocking while backwards while sliding into a wall.

This is due to the slide animation and I have no idea how to fix this. I saw some games have animations that are very easy to try to clip with, but they have a solve for that.

I searched everywhere but I couldn’t find a solution