Zoom to nodes or canvas