You still have analog functions enabled, specifically the comparators.
CMCON0 = 0 ' turn off comparators.