Fix row and column resizing in TableView.