- Fixed setDirection method for Ball