Fixed: invisible nodes would sometimes cause tcpdf to overflow