Make svg reset it's size each time it's called in order to avoid overflow