Fixing gameover state