This is the official guidance: https://support.snapmaker.com/hc/en-us/articles/1500000110341-What-should-I-do-when-the-slider-of-the-Linear-Module-comes-loose
Then there’s this thread: Excessive play in x-axis linear module bracket
Old and new linear modules look slightly different, but the procedure is the same.
And really watch for the endswitch - they are easily damaged!