Text rendering fix