Small window bug fix.