Removed explicit window clearing