PBP prior to V2.45 had a RAM Bank switching bug for this PIC. Always check with MeLabs website upgrade page for version fix issues.

http://www.melabs.com/support/upgrade.htm