changed calculation of percentViewable to use floor(), which prevents 101 values and false positives for players who are visible between 49.5 and 49.9%