For whatever reason, when buying stackable items with two slots left, the slots becomes unable to buy more, as shown in the picture, despite being stackable.