Fixes #14253: Add borders for tables that follow bodies in panels