Fix: added handling of default text alignments.