Fix issue when game gets updated before input