Fixed incorrect ViewController when changing tabs