The visit offered a rare upbeat public moment for Biden following his recent prostate cancer diagnosis.