Hello TraderJoesie,
Thank you for using Apple Support Communities. There's a couple of troubleshooting steps you can try to see if we can get this issue resolved. Follow the steps below:
1.) Power off your Magic Keyboard and power it back on to see if that helps refresh things.
2.) Restart your Mac: Shut down or restart your Mac - Apple Support
3.) If your issue continues, try besting this issue in safe mode. This step can help isolate possible software related issues: Use safe mode on your Mac - Apple Support
4.) If you have access to a different keyboard, you can also test that keyboard to see if this issue only occurs on one specific keyboard.
5.) Also, if you have any pending updates, it would be a good idea to install the. Updates do include various fixes: Update macOS on Mac - Apple Support
We hope these steps help you. Thank you for using Apple Support Communities. Take care.