Fixed bugs in CPColorWithImages and CPImageInBundle