is there any chance that you had more then 256 items in total?
No, I had like 14 items, and the bug happened every run