minor bug when resizing with resume open