Replace deprecated contentStretch with layer.contentsCenter