CApplicationMessenger::ActivateWindow() can call back into python, so make sure we use the DelayedCallGuard. Fixes #13776.