Added support for pre-multiplying the alpha channel to fix halo

Fixed reusing image and causing it to degrade