Fix to make original window keep focus