Fix some RGBA bugs