A category for NSImage to solve resolution error when loading high DPI images.