issue #5176, refactor UIFocusManager
Revert "issue #5176, fix compile error on other platforms"

This reverts commit 9118d7a98a15dbf84515dfc62e83e906f63af1d0.

Conflicts:
	cocos/ui/UIFocusManager.h