Add constrainAspectRatio