Change _srcImage from NSImage to CGImageRef