Fix: NullReferenceException when XAML file contains an XML declaration (<?xml ... ?>) and mouse cursor is moved over it.