This bug occurred in 2023, a ticket was opened in 2023 on the Mircosoft Developer Community, you can check the latest updates using this Link.
The Mircosoft team reported it was fixed in 17.12 preview 1 version, but I haven't checked.
I will wait for the official release of 17.12 and test it.