Updated ball setPosition with correct order of x,y