Added border radiuses to table when in a panel. Fixes #12461