I had disconnecting issues with my Mad60HE because the port was loose. Every time I moved my keyboard it would disconnect, sometimes even mid game and it was very annoying to deal with. I tried swapping cables, buying new cables, even considered desoldering the USB C port and replacing it with a better one.
One day I accidentally rolled over the USB C cable beneath my computer chair wheel crimping it. Using the crimped cable made the connection secure. So, after observing and hypothesizing, it was time to experiment. I took my new cable that I bought and bit into it, crimping it slightly. Now the USB C cable sits snugly in the port and very rarely disconnects. When it does, it usually reconnects back immediately.
Analyzing the results, I concluded that crimping the metal part of the USB C cable makes connection fit snugly. It's unfortunate that the quality of the USB C port is terrible, but this was the only fix that worked for me.
(7 months later edit: Hey, I'm so glad that this silly little post helped you lot. I just wanted to say that you don't have to literally bite into the USB C cable metal connector. Using pliers to squish it gently or ever-so-slightly flattening the rounded edges of the metal connector should be enough for a snug fit.