Fix resizing in table editor