A resampled image will now return the correct reference.