fix detection of "$gnavi_canresize"