Fix for non-direct children getting the active class applied in the preview pane.