There seems to be a border painting issue in Windows 11 Dark skin with TVirtualDrawTree (see attachment). Windows 11 Light skin is working fine, just like all other skins.
All other skins are fine. And that Windows 11 Dark skin is also fine after that fix. Not necessarily fixed correct thou… but I see similar settings in other dark skins.