Fixed a bug that only convert to RGBX but not RGBA

If you have a screencap which applied this patch, you
will found the bug which fixed in previous commit. the
root cause is fixed in this commit.