Fix for Tooltip & completer click focus bug.

Fix for the bug @ivanov found.

closes #5297