preserve palette in ManufactureState

This is just a copy of the fix for ResearchState; it's a similar situation.