On the right is using the Sleep(0.03) and on the left is using no sleep clearly something is wrong.
When i go away and back everything renders correctly again
I feel the main issue is having to use Sleep(0.03) or it never renders but also note sometimes when using Sleep(0.03) it also can be invisible but less likely than using no sleep as its always invisible then.

