Fix crash when joining battle rooms