fix: if the function "init()" to call the function "popState()", ...

If the function "init()" call the function "popState()", the behavior of the game becomes unpredictable.