Fixed some dragging bug that Patrick found.