svg: reduce unneeded calculates

Added labels in to grouping element, so there is no need to calculate they
positions;