This function aligns the marked layers (see chapter 4.7 and chapter 7.5.44) horizontally to the center of the active layer.