Fix table headers are not resized when window is resizing