fix window resize on delete, edge render