Gamepad Click offset in UI

Hello,

i have two problems in my project regarding widget.

  1. In the game you can spawn a widget (like a web captcha)
  2. Widget spawns with no problem
  3. With gamepad you can move mouse cursor too (set mouse position node)
  4. Widget buttons get the mouse over when cursor is controlled with gamepad, that’s fine
  5. When pressing A on gamepad (is set as additional left mouse click event in player controller) while hovering on button there is no press event and button doesn’t change to pressed
  6. When i then move the mouse over a button, there is hover and pressed event, that’s correct
  7. NOW i can press via gamepad on buttons but the pressed button is offset (screenshot)

So, first question: Why do i have to click left mouse button first on the screen to activate gamepad mouse click?

Second question: Why is the pressed button never the hovered one?

Screenshot: Cursor is on top right button but the left one will be set to pressed. It is not always on the left, it could be anyone when changing cursor position on screen.
Screenshot 2024-09-26 211810