Refreshing CollectionViewSource bound to TreeListView results in wrong display rendering
The control that is used to display the data ("McPopup") is not data-bound. Its background and visibility are determined on Loaded. Thus it does not get updated when when the UI virtualization's recycling triggers. It should either use data binding to determine these properties, or move the custom logic from Loaded to DataContextChanged.