Sample-detector coupling in atomic resolution magnetic resonance diffraction