Fix for exception when FlyoutControls.ItemsSource is bound to non-Flyout types.