Fix window class