Error of input on value change after changing the common ui viewport

Hi everyone, I have this problem, on Unreal 5.1 I prepared a menu that works well, there is a slider for gamma correction that also works with both the mouse and the gamepad, but if I press the face button bottom (A) while I am focus on slider the value changes immediately at the center point of the slider.

If I check the “mouse use steps” item in the slider details, when I press button A on the gamepad the slider moves towards the center of a step.

I tried to deconstruct the problem and I noticed that this happens as soon as the viewport class is changed

/Script/CommonUI.CommonGameViewportClient.

Does anyone know why this happens and how to fix the problem?