I think the reason denim has the problem is that it is cotton, and thus holds/soaks up moisture. Toss in a can of desiccant (which really oughta be in there anyway), and I'll bet the problem goes away.
Just somethin to fix bad which shouldn’t be there in the first place.... Closed cell foam alone gets it done fine.
As you state cotton canvas etc... Not good.