When drinking a soda can straight from the vicinity box by using the right click->drink drinks the soda, but it occupies an inventory slot afterwards, as if you had put the can inside your inventory. You can't put anything in that slot.
When relogging there appears an empty 0% can in the inventory which you can only then remove.