Fix bug wiping images improperly.