Thank you so much for sharing that bug!👍
Perhaps the problem is that the landing is not handled correctly. I would expect that body collision to have occurred before the leg collision.
So, yes, smoothing the slope may solve the problem. However, I believe that the root cause of the problem, the collision detection mechanism, needs to be improved and a process to determine that the foot is on the ground even if the foot is slightly off the ground.🤔