Reimplemented call of findFirstNode() to prevent a null node on connection to HUD

Fixed #365
Merge pull request #366 from k22mak/issue-365

Reimplemented call of findFirstNode() to prevent a null node on connection to HUD