Revert "Merge pull request #4642 from wsnipex/linking-fix"

This reverts commit 0d1d80373801c330e2a5dc938cc50d0d6d3ccc6d, reversing
changes made to 60bd97bdd8d662807076e9838ad7632b8c92d4fa.
[gui] fix <hinttext> not being shown once unfocused/refocused
Merge remote-tracking branch 'upstream/gotham' into Gotham
optimalizations