Remove extra whitespace when aligning text