fix selection box on centered text