Added a maximum ball speed to prevent breaking through walls.