prevent unnecessary arrowhead drawing beyond the canvas borders
added a Gene glyph, still needs some polishing and smarts