Fixed bug in alignment field setting.