Dollar falls from three-month high as traders unwind risk