Add fullscreen function for OSX.