The G8 lens is basically the longest focal length lens we normally use for our lasers. This means it has to sit quite far away from the emitting point of the laser diode, to get a good infinite focus.
The length of the G8 lens holder isn't a problem. Even if it was longer, it will still need to sit far away from the EP and thus the same problem occurs (lens only has 1 or 2 threads to catch before dropping out)
A loose thread between module and lens barrel is normal. Its a M9*0.5 pitch after all, so getting perfect CNC dimensions for it will be very hard/ too expensive to mass produce. Furthermore, the better modules are 99% pure copper (soft metal) so its even worse to try to cut a precise thread on it.
You can put a spring in the module to hold the lens barrel tight, it works nicely but you might feel the spring scratching around when you adjust focus.
Another method is to use some PTFE tape and wrap it around the lens barrel, IMO it gives a way better feel than using springs but you do run the (small) risk of loose PTFE tape coming apart and permanently burning onto your LD window.
One of our members here Trinh Hong Phuoc has created a custom copper module that is designed with the G8 lens in mind. The key to fixing the problem is getting a longer module, with longer threads. See
https://laserpointerforums.com/threads/new-copper-aixiz-for-g8-lens.104984/ for reference. I happen to own some of these modules and i can say that they are darn near perfect. Even the threading in the barrel is very smooth. You can contact him to get hold of some of those modules.
Other than using these modules, there is little way to use the G8 lens. Though you can also go down the route of making a custom G8 lens holder with CAD software and having that custom made, but it will be a PITA and also cost a lot.