fixed up connection rendering, fixes #22