A loose hand guard mount can affect not only appearance but also the levers and throttle return. If the part has been lost, don't reassemble without it until its purpose is established.
Inspection
Check the bolt, thread, bush and stack of parts. Vibration is one possible reason for loosening, but the wrong length and incomplete clamping can also be the cause. A screw that bottoms out doesn't hold the guard correctly.
Restoring it
You need a suitable part from the catalogue or a drawing. A home-made spacer requires the right dimensions and material; a random stack of washers can change the guard's position. Use threadlocker as instructed, not instead of a proper fit.
After assembly, check full movement of the handlebar and levers and that the throttle returns on its own. A second inspection after a short ride will show whether it has shifted. DS500 dimensions and experience don't automatically carry over to the DS525X and DS625X.