Fix cursor not visible once user starts typing.

The cursor appears only when user starts editing. Once the user starts typing the cursor will disappear.