I am not sure if this will help or if the CAN module needs it set, but try turning the ICPRT off.
@ __CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _ICPRT_ON_4L & _XINST_OFF_4L