Fix exception in cell focus change.