Don't repeat shared image id.