1. -Fix UI problem of window management.