This is a known issue. It was improved upon at one point, but it does not work for all configurations:
And here is where it is tracked as a bug:
Unfortunately, I have not been able to fix it, and you need to workaround it.