When a dimension is smaller than container, turn invert contain to true behavior