Fix the change with paragraph_dir initialization.