Fix crash with gesture when resetting battle views