Fixed #3116: fixed xxxRGBA's bugs

Fixed xxxRGBA's bugs