Bugfix: visibleMatrix() when root node is null.