Energy correction of precise photonuclear resonances