'lag' when playermodel comes into contact with ceilings/walls

Hello, I’ve recently began playing Garry’s Mod again. My friend and I were playing a bit of bunny hop when I noticed this weird issue when my playermodel comes into contact with a ceiling/roofing and sometimes just walls period. I’ve uploaded a video of what’s happening to YouTube.

As you can see, it happens at the top of my jump when I come into contact with the ceiling.

I remember this when I played previously. I showed the video to my friend who was playing on the same server at the time, and he tried the same thing and it wasn’t happening to him. It was only me. Just curious if anyone knows about this issue, it can be quite annoying at times.