clicks affect canvas if not on nodes
pathmark visualization goes away when you click on the background