Fix broken CGColor conversion