Fixed a problem with ball moving horizontally because of Math.round in moveBall func