<SetForegroundWin> targets the currently targeted window -- in this case the one you just specified with <TargetWin> -- so it doesn't need an argument. I forgot I wrote it that way.

Is "Clear modifiers before executing hotkeys" unchecked? That would explain it.