fix tooltip cancel

pending tooltip from open-parenthesis was not being cancelled properly