Streamproof
Keep the client out of recordings and streams.
With Streamproof on, nothing the client draws reaches OBS, Medal or ShadowPlay - the menu and every overlay stay on your screen and out of the recording.
Set it up
In the menu, go to Settings and turn Streamproof on before you start recording.
In OBS, add Minecraft as a Game Capture source - not Display Capture or Window Capture.
What it can't hide Display Capture and Discord screen share capture your whole screen as pixels, so the overlay goes with them. Use Game Capture.