Fix for image extraction when embedded image is same size as original.