I had a similar problem too.
Try to define the parity
' Use only if even parity desired
DEFINE HSER_EVEN 1
' Use only if odd parity desired
DEFINE HSER_ODD 1
Also, include a small capacitor between ground and Vcc PIC terminals, it help a lote (I used a 22pF in my project).
Bookmarks