Fix NPE due to broken UI tree