fix bug with premultiplied images when alpha = 0