[Bug 56045] RichTextBox crashes the WPF application