Update Resize.cs

Fix incorrect max width setting