Fix VTGate crash