Fix show view detection.