This PR changes mouse click/toggle/doubleclick coordinate calculation to signed version. Previously it was unsigned, which caused click events to register at incorrect positions, if the click happened at a negative coordinate value, which can happen in macOS's screen coordinate system.
This PR changes mouse click/toggle/doubleclick coordinate calculation to signed version. Previously it was unsigned, which caused click events to register at incorrect positions, if the click happened at a negative coordinate value, which can happen in macOS's screen coordinate system.