Control for sensorless optical wavefront correction