Rescaling after resizing