Sticky Walls Issue(Collision)

Hello everyone. I am using Box2D with libgdx. I am having an issue with the default collision action. When I jump or hit the top of an object, everything works fine. My object doesn't stick. But if I hit either side, my objet sticks, as long as I'm moving in that direction. In other words, the gravity has no effect on it while it collides with the side of the block/wall. I did some research, but all solutions needed b2Settings, which I can't use. Is there any way I can fix this?
Here's an illustration. As you can see, it sticks to the brick.

Image

Original thread: https://box2d.org/forum/viewtopic.php?t=9731