Fix line-height and font unit bugs