Get getBoundingClientRect before rendering / constrain transformed element to offsetParent boundaries