Remove \global on \setbox to avoid
! Output routine didn't use all of \box255.
with texlive 20210325.