Discord and Gears 5

so im having a super annoying bug(?) happen to me constantly. when im playing gears while in a discord chat, discord stops picking up my mic every time i load out of a match into the main menu OR send a party invite for some stupid reason. Im using an astro A50 headset . also once it happens the only fix is to restart gears or reset my mics base station