Improved window dragging.