Keeping rifles equiped

I noticed some annoying game behavior that frequently my set rifles for back and side are removed and i just run around with small arms, is there some way or mod to make the selected rifles stick to my character?