Fixes image and font embedding