fix: Overlay positioning incorrect when animation starts on first render (#8789)
* fix: Overlay positioning incorrect when animation starts on first render
* fix tests
* Revert collection incomplete tracking
Doesn't work in React 17
* Use offsetWidth and offsetHeight instead of getBoundingClientRect