Backport #26200 by @lunny Fix #25951 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> (cherry picked from commit 499c5594c3)
499c5594c3