Fixed crash on victory/defeat screen