In some browsers, getBoundingClientRect() forces a new layout calculation on each call.
Currently, the resize-observer module calls getBoundingClientRect() multiple times during each animation frame, especially when the size has changed. We should instead cache this value the first time that it is called per animation frame and reuse that value.