fix adding of circles to painter paths