Fixed type in Rectangle.set().