Fixed the parameter order in observe Used the correct internal property approach Did not use the built-in visibleChildren, as we need to handle elements that are obscured or completely removed