optimize drawing circle issue #331