Improve ProductionBar performance.

Querying the production queues every render frame was crazy.