Merge "Limit task bounds to stable bounds if resizing beyond the stable bounds." into main