Bug 862053 - Use getBoundingClientRect instead of offsetParents, r=mdas