fix text resize alignment