Single pixel glitches on the Intel NUC 8i3beh6

Hi! I’ve recently installed fedora everything 40 minimal on my Intel NUC 8i3beh6. I also installed Weston there, but now I noticed that there are random black pixels and other small graphic glitches appearing on the screen when 2d graphics is being displayed in games. How can I check is it related to the software if it’s related what could be the issue?

I’m using the integrated iris xe card of the i3-8109u CPU and the computer is connected to the tv via an HDMI port. I also checked the temperatures under load and they seem good (about 82°C max).