[NUI] Add Window validation check