Simplified setPixel