O link da URL não funciona ao redimensionar um objeto tabular para largura de texto

O link da URL não funciona ao redimensionar um objeto tabular para largura de texto

Quando quero redimensionar uma tabela para largura de texto, links para páginas da web e referências não funcionam mais (as caixas de hiperlink são movidas para outro local), enquanto não encontro esse problema quando não redimensiono uma tabela para largura de texto.

Porém, preciso fazer isso e tanto resizebox(1º exemplo) quanto adjustbox(2º exemplo) dão problemas.

Como posso resolver isso? Obrigado! (Eu trabalho no TeXstudio e uso LuaLaTeX para compilação)

\documentclass{article}

\usepackage{booktabs}
\usepackage{adjustbox}
\usepackage{graphicx}
\usepackage{hyperref}

\begin{document}

%%% change size by resizebox
\begin{table}[]
    \centering
    \caption{Caption for the table.}
    \label{tab:table1}
    \resizebox{\textwidth}{!}{% 
    \begin{tabular}{@{}llll@{}}
        \toprule
        \textbf{A} & \textbf{B} & \textbf{C}   \\ \midrule
        Problems & Help & \href{stackoverflow.com}    {stackstacksstackstackstacktacstackstackstackstackstackstackstack} \\
        & Search & \href{google.com}{Your friend}     \\
   \bottomrule
    \end{tabular}
    }   
\end{table}

%%% change size by adjustbox
\begin{table}[]
    \centering
    \caption{Caption for the table.}
    \label{tab:table2}
     \begin{adjustbox}{max width=\textwidth}
    \begin{tabular}{@{}llll@{}}
        \toprule
        \textbf{A} & \textbf{B} & \textbf{C}   \\ \midrule
        Problems & Help & \href{stackoverflow.com}    {stackstacksstackstackstacktacstackstackstackstackstackstackstack} \\
        & Search & \href{google.com}{Your friend}     \\
        \bottomrule
    \end{tabular}
     \end{adjustbox}
\end{table}
\end{document}

informação relacionada