Fix for bug #614
Merge pull request #833 from winterheart/fix-input-text

Fix for bug #614