CON-2350 | Fix for sloth and inline elements

Because inline elements in chrome have ```scrollHeight``` and ```scrollWidth``` equals 0, changed them to ```offsetHeight``` and ```offsetWidth```. This way we can hook sloth to inline elements in Chrome without problems.

ping @hakubo