A Shack–Hartmann wavefront sensor projected on to the sky with reduced focal anisoplanatism