Added support for Retina display in MacOS X