Adds some untested new functionality for arrows and borderRects