Do not try to focus invisible components which not present in UIDL #12654

Change-Id: I365940e72d97426eceb408878bc8b24d7655de7c