fixed a bug when drawing just one level of g1