Call ActivateWindow before switching profile to disable the screensaver.
This fixes the problem where XBMC cannot un-dim after automatically switching to the default profile.