Restored viewport dragging.