Fixed warnings on NSImage