[DF-1858] fixed defect when loading UIScrollView from yaml.