fix BorderPainter color match