Unfortunately we will have to re-implement the Rectangle struct because we can't modify a value type apparently.