Fixed custom image verification bug.