make sure bufferedPercent never returns more than 100%