Merge "Enforce max size for resizing operations." into rvc-dev