make it possible to override behavior of offsetWidth/offsetHeight