Pass svg renderer in to constructor