fixed window removing on project closing