Double-acting cylinders with spherical bearings