Fix react spread in transfer dom props