Dollar rebounds as global market rally fades