Several of the AK SMG variants do that, and I've seen it on other guns too. I'm not really sure why, other than maybe to keep your hand from sliding back to the magazine if you're shooting it from waist level.

On the other hand, it seems the Soviets thought it was okay to use the magazine as a foregrip - I've seen pictures of Mikhail himself shooting that way.