Guard against nil image