Merge getElementLocation and getElementSize to the getElementRect as discussed at London F2F