I use the Anker Tony shows on the left. My work van has stiff suspension and you feel every pebble you run over, but the 4 YO Anker stays put well.
I've had other cams act like this, and the problem was always power-related. Cheap PS's giving little power, bad cables, and loose USB ports and plugs are the cause. If you squeeze the wide side of a USB plug in slightly with pliers, that usually restores tightness to that connection. Do the work gradually in stages and stop when the plug feels secure again. If you're working on a live cable, unpowered it so that it doesn't get shorted by accident. If that doesn't solve the issue replace the cable, then the PS as necessary.
The supplied PS's with many cams are marginal at best, and this even with some good brands. I use them till they give trouble, but better is to use something like my Anker which isn't being built or sold to a price point and has plenty of power to spare. Also use only good all-copper cables; the cheap CCA types always fail in time from oxidation even when never used. Monoprice is a good brand for cables and inexpensive too.
Phil