svg: reduce unneeded calculates

There is no gruoping in objects, so we do recalculate in each of them.

Added grouping element and calculating it position only.