fit window now reopens properly after closing