Beam detects x, y deviation on surface, compensates beam of position scanner