Implement initial support for High DPI mode on OS X