This was fixed in 2020 sometime, if I remember correctly. There were a number of threads about it around that time, and a workaround using RegEdit. I don’t recommend using the RegEdit workaround, rather update your version of Xojo if you are able.
Here’s a post from @anon20074439 explaining the issue.