Keyboard and mouse plugged into monitor USB hub sporadically cutting out

I have a monitor with an integrated USB hub, which connects to my desktop via a USB A to USB B cable. All my previous Windows computers have worked without a hitch, but my recently acquired desktop does not play nice. When the keyboard is plugged into the hub, random keystrokes will get missed, and occasionally it will behave like the key was held down for a few seconds. When the mouse is plugged in, it will randomly stop responding for a second.

I do not see this behavior with any other computer, nor do I get it in the BIOS on this computer, so I think it’s a Windows issue. Disabling Selective Suspension in the power settings, as in this question helped briefly, but the problem persists.

I do not see these issues if I plug in the keyboard and mouse directly into the desktop box.