some rendering improvement, so only the svg element is involved in
calculating its position