Bug fix with zoom bar click event.

e.offsetX is only present in chrome, it isn't standar. The fix uses e.clientX instead.