fix #536 v-ref lost after transition