Every time I click on a button the mouse position goes to the top left screen position. How to solve that?

Every time I click on a button the mouse position goes to the top left screen position. That is resulting the button to not work, and only works if I click two times really fast. How to solve that?

It depends on what does the button do when you click on it and what setting you use when you show your widget.

do you have a controller hooked up onto your computer?