Fixed dom.offset and dom.offsetRel regression.