ToolTip: check whether parent.pressed is undefined
This can happen if the tooltip is applied to a label. For example, Elisa shows a tooltip to labels that are truncated.
Also modernize JS with nullish coalescing, and make this binding easier to read.
Edited by Jack Hill