emulate/hack br getBoundingClientRect