Go to Apple menu > System Settings > Privacy & Security > Screen Recording Turn everything off.
This.