Test case for #948:

 focus event isn't sent to 1st window after window with new-instance is opened