Fix which svg attribute is used for centered text.