Fixed odd UI crash