The dollar remained firmly above three-week lows on Thursday as investor optimism about a trade deal between the United States and China declined.