Series resonant device compensation capacitor