Fix AMotionEvent_getHistorical