Technically, they cannot refuse visitor visa just because you have applied for pr. (I read about this somewhere in cic documents sometime) Practically, they would think - why does this person wanna go now while the pr application is in process, which in their opinion, doesnt take long to get...