Mouse scrolling is slow/unresponsive after waking up from sleep

I noticed that scrolling with the mouse wheel is slow/unresponsive after waking up from sleep.

Turning the mouse off and back on fixes it as a workaround. But ideally I’d like to fix the problem and not have to do that.

I’m using a laptop with KDE Plasma (5.27.4) and a wireless mouse (Logitech MX Master 3). The receiver is plugged into a hub, not directly into the laptop.

Any suggestions? Thanks.

Edit: Also, I can’t wake up the computer with the mouse. Only the keyboard. Not sure why.