Moving the ballPosition translation to the ballUpdate() method