Try to fix dialog scrolling/dragging.