Way to secure wire harness?

I have an SE with a JLF in it. Today when I turned it on, I discovered that it wasn’t working. I looked inside and my wire harness was loose. The madcatz stick had a groove where the harness would plug into that kept it secure. Is there any solution to keep my wire harness plugged in and from getting loose?

ever hear of electrical tape?

put a light dab of hotglue, hori does it in their HRAPs