replace check for _isShown with _isRendered