Fixed a couple of bugs on color.RGBA handling.