Fixed an error with Item Dispensers having invalid stacks.