fixed some dragging issues in dvi