Change the way borders are rendered (fix an issue with Xnest).