Fix 15285 from AvalonDock Hp.