Make the centered StaticText element be centered on Mac and Linux