Fixed Game.Exit() crash on WinGL and Linux platforms.

We must not call Game.Tick() after Game.Exit().
Fixes issue #2605.