surface::getpixel fix