don't paint nonvisible nodes