Fix window layers