Fix tank switching.