Bug 1040110: Add new getElementRect method