Fixed max width bug for image size