Tested this now on my small notebook and large desktop pc monitor with different resolutions (2715x1527, 1920x1080, 1600x900, 1280x720, 1024x768, 800x600 - tested with mfa and as built version).
I don't experience the bugs you described and also no differences in the built version.
Someone who know a fix to this problem? I will pay $100 to anyone who can figure it out
Hey here is a fast fix to that, idk if this is the result you want it but it works, now it won't let you drag on those black bars. I put some comments
Edit: I just read you main post just do what I did but with the x-axis since in my computer the black bar are on the y-axis
Ugh! my bad I made it at work and here I only have a mac laptop. I'll make the changes at home and send you the mfa with a exe project, since in this computer the problem happens on the y-axis edges instead of x-axis
I couldn't quite wrap my head around everything in your example, but I could see the problem you were talking about and figured it was due to an error in your calculations. I made a "drag" using right click example that doesn't have the same bug on my end. I hope it works for you and can be dropped into your project without much hassle: https://www.dropbox.com/s/anpk53ixnc...bug_2.mfa?dl=0
I was wrong; the problem still exists in my example, too. I didn't see it because I didn't fullscreen my example and try to click outside of the "actual" frame area. This is an odd bug, but I spent a lot of time with it and figured out the problem: the "User clicks with Right Button" event!
I'm not sure why it messes things up (maybe something to do with its priority status as an immediate event and the focus of the game window?), but if you change the "user clicks with right button" event to:
repeat while right mouse key is pressed
only one action when event loops
it fixes the problem.
Here are both of our examples updated with the fix:
Let me know if this helps