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

Fixes: #12263: Remove border radius when it's not `both ends` in panel

current: http://jsfiddle.net/zv55F/1/
my fixed: http://jsfiddle.net/L22WX/3/