fix ellipse rendering completely

Change-Id: I861ab0442f85f54d4a390d46c784bcf03545ae15
fix line position

Change-Id: Ic604eb7b0d663928ab614fe85530e4f925bcff8f