Have an issue with flickering on when trying to draw arc shapes

I keep getting a weird flickering effect on my shapes when I attempt to draw them

I took a video which is show here of what happen -

What could be causing this issue?

I can post code if needed