Update Resize.cs

Fix incorrect value of maxSize.Width