I've encountered a similar issue with the free camera. When pressing the keypad "7" or "1" keys for camera UP/DOWN respectively, sometimes the keystroke becomes "continuous", and it's really difficult to make it stop. I am sorry, I do not know a way to avoid this, but maybe what I'm pointing out is a known issue and someone gives an answer that can be applied to your case.