fix replace wrong anchors in favor of Layout alignments

Merged armin requested to merge fixLayoutAlignment into master

Merge request reports