Code clean-up

check only visible nodes (with renderer) instead of every nodes and
remove debug console.log