Fix #1559: offsetWidth is rounded to whole pixel, use style['width'] instead

All unit tests passing, so appears that padding and borders are still
calculated correctly.