Removed superfluous code in textentry.lua

The SetCaretPos method already handles moving the text object.