MacBook Pro Catalina intermittently not registering trackpad clicks
I have a new MacBook Pro running Catalina (10.15.7), and I've recently encountered an odd error. When I have media content going (playing a video, on a Zoom call, playing a game), the computer will intermittently ignore clicks from the trackpad. I'm still able to move the cursor fine, but if I try to click, nothing happens. This generally lasts for a few seconds, and then clicking works again, but cut outs again after a few more seconds.
I've seen this behavior both with the built-in trackpad and an external one, so it doesn't seem to be related to trackpad hardware. The problem will sometimes persist after I close the media content, but if I restart, it will go away until I open media content again.
Any ideas what the problem is here?