Fixes for vector_math migration problems in trackball

... as reported by @markhats