fix tooltips on SVG nodes on FF, fixes #16310
(cherry picked from commit a696ceb7e4fd6c793327df992ec5d972e08781aa)