solved NPE when layoutChildren() removes child Views