The thing is, it is hard to debug from snippets. Stuff you don't think is relevant might actually be the problem. Just as an example the Servo library clears TCCR3A.
I feel confident that the hardware registers don't just clear themselves for no reason. Something in your code, or in a library, is doing it. Possibly due to a buffer overrun somewhere.