Add null check in recomputeIsVisibleInWindow.

There are some circumstances where a view could get destroyed while
recomputeIsVisibleInWindow is happening, which could lead to childViews
going away in the middle of this loop.