Dollar rises on safe-haven bid, stocks mixed