fix panel activation on target tab reload