Moving gp to parent gTree for paths. This is so that things like
patterns apply fills correctly.