fix a bug that will only be trigged when showing a data frame that is too wide.