[#554] fixed circle/ellipse drawing in debug mode