fixed keyboard focus bug.
Merge pull request #11 from asalga/bug10

fixed keyboard focus bug.