Fix #13543. offsetWidth is wrong on non-1 zoom.

Cherry-picked from #1194. Passes all unit tests on latest Chrome Canary.