Fix `EndAlignment` not handling element assignment correctly.