fix replace wrong anchors in favor of Layout alignments

Armin Felder requested to merge fixLayoutAlignment into master

Merge request reports