I have discovered that if I tab out or click outside the game window while holding down a button; the button is registered as being pressed.
Anyone got a quick fix to either check or prevent buttons from being pressed when the game is not focused?
Thank you :)