Don't spawn resources at maximum density. Fixes #4278.
Merge pull request #4289 from pchote/ore-spawn-fix

Don't spawn resources at maximum density.