In round numbers, with a 5 V supply each PIC output is trying to sink around 30 mA. IIRC, too much. There is a limit to the max continuous current for each I/O pin and another limit to the total GND current for the chip.
Increase the segment resistors to 470 ohms each and see if things work correctly. It will be much dimmer, but once things are working you can decrease them for increased brightness. Without drilling down into the datasheet, keep the segment resistors above 220 ohms.
ak