I will guess the coordinate values of these two are swapped. Either during the reading of the press/release, or the drawing of the button.
I will guess the coordinate values of these two are swapped. Either during the reading of the press/release, or the drawing of the button.