FACES-1766 Invoking deploy.sh causes window focus to be lost on OSX