Fixed a bug where selling wouldn't update stack size of non-empty stacks