added comment: accepting input events on the bg thread appears to be REQUIRED for XAML,
see docs on CreateCoreIndependentInputSource