Better handling of 'scroll-lock' when container dragging is enabled.