Graphics glitch

Sometimes I am facing a glitch in graphics like some white squares are appearing on my screen it’s just random, 

I have tested on my 3 devices Lenovo Z2 plus, xiaomi mi mix2 and OnePlus 5T. The same glitch appears on every device on snapdragon 835 and 810 soc, is it because of hardware or some game issues? But I didn’t seen this type of issue in sd625.