Mojave security update 2021-004 breaks screen sharing after system has been idle
After installing Mojave security update 2021-004 (on 6/5/21) there is odd behavior of both screen sharing and Microsoft Remote Desktop. Immediately after rebooting, I'm able to use screen sharing to view the screen of another Mac on my local network. I'm also able to use Microsoft RDP over VPN to connect to servers at work. However, if I leave my machine idle for a hour, or so, I can no longer make a new screen sharing connections nor can I make a new RDP connection (existing connections are OK).
Hardware: MacBook Pro, 15 inch 2019, 2.3 GHz core i9, 32 GB RAM
OS version: 10.14.6
Energy saver: [x] Prevent computer from sleeping automatically when the display is off
Other updates installed on 6/5/21:
Safari 14.1.1
OneDrive 21.083.0425
Any help would be appreciated.
MacBook Pro