Issue #5412: Fixed a bug the redundant border in chrome

Fixed a bug the redundant border in chrome