Finalise implementation of HiDPI mode for OS X