Properly display window