Fixed the offset when body is scrolled

When the body is scrollable (because of an overflow setting), the position
of the element needs to take the scroll position into account otherwise
the picker will be placed too high when scrolling.