Use iap rather than aperture 0 (not guaranteed to be populated) in xytoxy.