Standardize tooltip row detection