Further resizing improvements