It always happens with my 2 G21s, rarely with a G27. I think it could occur on any pistol with the grip-slide angle not 90 degrees, and more likely to occur with the angle farther from 90 degrees.
When you slap the mag into the well, and the angle is not 90 degrees, part of the force is...