fix window, panel and some grid, listbox case