Tooltip functions should only run if given valid element
Fixes #12