Fix boundary point offset adjustment.