Pan tool not working right after modifying node roles