Fixed frozen gameoverdialog