Correcting Visibility in WPF