Driveshafts are 2 pieces splined together in the middle, sometimes the splines get pushed together, in your case or pulled appart so the driveshaft becomes to long.
With the center bearing loose try just pulling towards the rear, if it doesnt budge, wd40 it and give it a few wacks with a hammer, just dont mar it all up.