Thanks for the report @ValdikSS Here’s an attempt at fixing this once and for good
https://github.com/discourse/discourse/pull/39133