Interrupt is messing up timing for OWOUT and OWIN.
Even 100Hz interrupt can cause problem. You must disable int before OWOUT.