fixes for svg renderer for the following issues

1. label element throws exception when render checks if it is a node
2. graph flakiness when dragging a node
3. graph flakiness when moving the graph around
4. inconsistentcy between svg and canvas that when mouse is pressed
down on a node, label should disappear and reappear when mouse is up