Compensate line offset