Fixed GetPopulatedWindows()