Fixes in trackball reported by markhats

Migration to vector_math introduced these problems