Hey, thanks for the replies
sorry about the bloated code example
Not shure what you mean, the problem was with browser zoom initially.
Turns out Firefox has some problems with svg element transform origin as well. Found some solutions on stackoverflow, alternatively you could just wrap the animated elements into seprate svg-s and transform those, avoiding all the innter svg schinanigans.