This is caused by using items directly from the shared bank crafting storage.
I tested it a bit:
Default "Legacy Sort".
Nine 10,000 stacks in the bank with a stack of 1,500 at the end.
No remnants in my character inventory.
Purchase 1d6 ruby from Hall of Heroes to remove remnants from a 10,000...