Fixed crash.

Gamestate were null in node.