Made the Regions detect work properly even when the page is zoomed out

Chrome does some off floating point operations that results in `getBoundingClientRect()` returning a value that's one pixel off when zoomed out.