Thank you for the sample application. I was able to reproduce the issue.
It seems that the issue is coming from your custom tab control (TabControlIE.cs). What is this customization doing exactly?
I have replaced your tab control with the default one TabConrol and re-record step 2. The test is now able to execute in any kinds of theme and Windows.
Please find attached the project.
Hope this helps.