Call the window to active desktop
There is option 'When switching to an application, switch to a Space with open windows for the application' in Mission Control preferences. Does unticking it delivers expected behavior?