Fixes empty image path bugs for IOS and IOU.