input: don't crash if the internal handle is nullptr
Pointer focus can stay on a closed tooltip while focus updates are blocked, so this needs to be checked for
(cherry picked from commit c25aaa2c)
Pointer focus can stay on a closed tooltip while focus updates are blocked, so this needs to be checked for
(cherry picked from commit c25aaa2c)