Fix initial window focus