update windowbase and drag manager