reorganized DrawingElement clas
poly element fixes