Increases in iron ore and gold prices helped the Australian stock market to fix it after a shaky start.