Fix Custom DataSource example crash by ignoring lines of zero height.