summary: fix bug introduced with recent tooltip commit.