Fix crash issue caused by the NULL _focused_ic variable