make sure all window flags are set