fix incorrect ellipse painting in awt