Updated getPixel(x,y)