Add offset polyfill to fix FF. Fixes #15