Fix window frame