Fix window focus on join