Some fixes on the RGB example