This problem occurs when screen resolution is high because of insufficient precision of the texture coordinate. Using highp
for tex coords should be enough, but this seems not working on some devices. Some result in a slight glitch, others result in bizarre results like this: