Handle transparent pixels on resizePixel.