I do agree that’s a bit confusing, but according to the documentation that seems to be how it’s supposed to work. You can get around it by just caching the information you need from the enter and exit events, as you should in theory only be able to click on a button that your cursor entered. Would that work for you?
(NOTE: I’m not exactly sure how this would work with touchscreen devices, where the “cursor” doesn’t necessarily have to “travel” in order to reach UI. If you’re targeting a platform that can have touchscreens, that’s definitely something to double-check.)
Well, that was my thinking also. That helps for now, as I don’t intend to have this project on the mobile devices just yet. But I believe that eventually I will have similar things that will be on mobile devices, so I will need some better solution.