Incorrect application behavior with game