Fix statistic border
Fix #1038 in 1.0