fix #486 v-model cursor positioning