Note: These are two same magazines. Happens only after the first reload. Also on a full inventory.
The two magazines should switch slots since they both take the same number of slots.
Happened when the extra magazine is on the horizontal position.
Maybe doesn't bug when it's placed vertically in the inventory.
I was lucky enough to find and pick up the extra 40 rnd magazine that was on the floor after the bug.