Fixed bug when wrong container was scrolled

If we start scrolling inside an overflowed div, but then continue the scrolling outside of it, the container scrolls, not the body (and vica versa).