Updated baselineOriginToPositionLine:afterLine: to prevent overlap