Do you have
PORTC.4 = 0
right after the TRIS statement at the beginning of your code?