remove border radius when it's not both ends in panel
Merge pull request #12286 from watilde/fixes-panel

Fixes #12263: Remove border radius when it's not both ends in panel