fix offsetWidth/offsetHeight