Fixed loss of focus issue resolve #4