Fix ZeroDivisionError in sparktext rendering

This fixes a ZeroDivisionError when rendering sparktext if the max value and relative_to values are the same.