Maybe Harmony’s device setup includes discrete Power On and Power Off options that you can apply directly to your activities, making input switching more reliable. Try searching the Harmony database for discrete power codes specific to Sony receivers.