fixed a bug + added ellipse rendering (lua side)