Properly reset borders on table cells in panels

BS3 commits: c3f845641425ebafac09e0e664d3b543d91e172b