Why is this always happening every time I start screen recording on my mobile?

Is it some sort of glitch or what? Dosent happen when I dont record.