- Fix bug that occurs when user changes the selection range.
- Expose IMEBox object to window