When an enemy gets killed with that item, it gets replaced with a consumable. In both pictures you've shared there's one extra coin instead of an enemy.
Once you max out item slots you should be able to collect more of the items you already have but not new items. If you're able to buy new items then that's a bug!