What I know is, if it happens one time, it quickly happens again, maybe not with the next item, but it'll surely happen again. And probably occurs only when you don't buy the item, and maybe when there's another bug(like the items disapearing in a instant), but to be really frank it's a random bug that may not always appear.