Reproduced on XWiki 17.10.2 as well (Edge 144/ PostgreSQL 17/ Tomcat 10, Docker).
I couldn't reproduce it at all on Firefox, but got the bug as soon as my first page load with Chrome.