Fix item resizing