Bug 71857: Strip position style in all math modes

Change-Id: Ib965e687ae4e7afe86f92b497ffcbc349950fecf