Though this doesn't always solve everything, it frequently at least improves the export:

Before you slice your image, clone it. (Select your image and press CTRL+K) This puts an exact copy of...