Added the ability to set the color of RectangleComponent.