Remove unneeded window flag.