A wavefront sensor including a light source (172) for providing a light beam to illuminate a subject eye and a first beam deflecting element (180) to deflect the light beam to compensate transverse movement of the subject eye. A second beam deflecting element (182) scans the beam around a small portion of the retina to dissipate energy.