fix window focus