Add support for borders on text elements