Fix is_pixel_transparent