Add group and element hierarchy, canvas lazy creation