Fixed the buffer overflow. Increased the number of pixels again

This should fix the buffer overflow that @IntelOrca was talking about. I also increased the number of pixels as it wasn't enough on my screen 1920*1080.