Fix fallback image detection