Png trns

See #904, fix for the real bug