Fixed crash when sending then saving inline image.