Retain NSImage objects (not doing so may lead to sudden crashes)