Fix spy tooltip definition.

Fixes #6665.