Enable HiDPI mode on OSX and fix the fullscreen feature