Fix TextEditor position issue.

When using LWUIT library, the position of TextEditor set by TextField
is incorrect when the TITLE_LAYER of MIDPWindow is shown.
Merge pull request #546 from PinZhang/pzhang/texteditor-position

Fix TextEditor position issue.