Fixed retrieval of svg size.