Merge changes from topic "new-size-spec" into tm-qpr-dev

* changes:
  Fix getOverrideMinSize to not go beyond min bounds
  Update the pip size spec logic