Improve border handling on theadFixed