Fixed bug when loading a battle for the first time