Problem moving window to external display

I'm creating a subroutine macro that moves an OmniOutliner window to my iPad/Luna Display. That works fine, but when I try to have it return focus to the previous app (Photoshop), it moves that app from my iMac display to the iPad, rather than leaving it where it is.

It appears that once Keyboard Maestro moves a window to an external display, it wants to keep working with that display for actions involving other apps, even if they're on the main display. Here's the macro: