Fix font inheritance problem