fix percent text not rendering bug