Fixed exitToTab flashing issue