Fixed typo in addRGBComponents