Bug 858435 - getOffset cost between 4-6ms most of the time and sometimes...

... more than 10ms. r=djf