Make sure cell delegate is set.

Fixes #2400