Both are correct, and the sentence variation with "a ball" has been added. However, it can take awhile before they are accepted as correct.
I thought mengajar, means to teach, not chase? I've checked my dictionary and there is no alternative meaning that could be interpreted as 'chase'. (Echols and Shadily)