Will cleanup this. Caret is attached already to the right position.