Working around a Vue.js 'bug'