Beamer template:  Lines to fix captions with longtable.

Thanks to Joost Kremers.