Try to use another power source for your Motor driver. As i can see from your schematic diagram , your l293 Vcc is shared to the power source of your PIC. The motor can cause noisy output or voltage/current fluctuations when one of the motor stops or another motor suddenly rotate. Hence, have a separate source for PIC and L293.
-creedcradle