Prevent the game from doing double ticks