I solved this by inserting if (!interruptEnable) resetTIV(cycles); after Line 691. I am not that this is a acceptable solution