Removes unused image.