Fixed some trackball stuff