Fixed so that if image is set to invisible, the background color is
white and pixels' alpha component is invisible.