Set translatesAutoresizingMaskIntoConstraints = YES for added subviews. This isrequired when manually setting frames.