How to make some objects push the character

I have a rollover in my game, it works so that when the player presses the rollover key, the collision of the character (Capsule) decreases, and at the end of the animation it comes back, but I got a bug in which the character gets stuck in the floor, this bug appears randomly, and I could not figure out why what is the problem

Not sure, but problem could be that you are scaling the collision from center?
if you make a scenecomponent, and place the collision capsule under this,
you canscale the collision from the bottom,
this should prevent the scaling from colliding with the ground and so messing up the char position