UI Buttons have weird detection?

I have UI Buttons in my pause screen, but the buttons have a really weird highlighted detection. the y-axis is fine, but for some reason, it detects a wide range on the x-axis…


How do I fix this?

I do not understand the problem. Could you please explain it in other words?

UPD: Oh… I see now.

Maybe the object that owns the button script has to wide size on x axis? Make a screenshot of this object showing its boundaries. I mean, there are 5 tools in Unity Editor in the upper left corner (grab, show axis, rotation, etc). Click on the last one. And if you go to scene view, there should be seen a size of the button. If it exceeds expected limits, then problem is probably there.