Automatically Offset Ray Deviation Correction