fixed issue of svg not showing when dimensions are not set