Fixed item stacking with issues around full stacks and overflowing
stacks