Searching events in subprocess and visibility change