With an empty mag use a toothpick or something soft to poke the tiny polymer tab in the recess at the bottom of the magazine butt down over and over again. After a few pushes it will spring up audibly further into the recess creating a better lockup.
No more mag rattle.