render schematic border correctly