Game can't interact with multiple stacks

Crafting, upgrading, build projects can’t take resources from multiple stacks. It only checks for the amount required in a single stack, nothing happening if there’s not enough in a single one. However it still displays total amount in appropriate prompts.