Correct a divide by zero error causing a crash in CGRect frame later

Fixes a crash with frame calculation when no data points exist for a site.