Changed check for HUD when keyboard is dismissed. Fixes #244
Merge pull request #245 from jorgesilva/develop

Changed check for HUD when keyboard is dismissed. Fixes #244