Correcting the extended-source calibration for the Herschel-SPIRE Fourier-transform spectrometer