Update RectangleComponent.java