Improve item resizing