Fixed freeze when going from start menu to game

Fixes #1