fix rendering of connector lines