Slight performance enhancement

Don't check every single pixel, instead checking every 2nd pixel.