Do not consider node when determining view rect of screenshot if node is not visible.