as far as i could tell, this calculation didn't actually work since `boxH` was the `offsetWidth` of the element instead of the `offsetHeight`, so its not clear to me that this was actually working before.