either you rely on that, then you don't need m_inGameMode, or you don't, in which case you should reset it to false.

or you make qt handle moveevents always, just as in real fps :)