Maybe it has already been fixed? I couldn’t reproduce the error using Version 25.06 (5a4fa50a), i.e., the one I installed using the new online installer.
After noticing this, I checked github and found this commit, which appears to address the issue: https://github.com/ankitects/anki/pull/4063#issuecomment-2953681999.