https://github.com/Vencord/Vesktop
^ fixes discord with an even better client, or you can use the many versions of discord that use the native system electron, which will all fix screensharing too.
https://sr.ht/~mstoeckl/wscreensaver/
^ screensavers
Because it’s federated and FOSS.