Thank you for your bug report.
This issue is already fixed in 2023 version of Unity.
After reviewing the impact it has on our users, we will not backport the fix to previous versions of Unity.
The case will now be closed, and will not be reopened unless new information arises that would change the issue’s impact. Please let us know if you have additional information relating to the severity of this bug.