Fix ore generation issues