Fix errors from empty graph (uninitialized transform)