Use clientWidth/Height instead of outerWidth/Height. Fixes #284