fixed issue with text not rendering