Added support for full screen mode on Mac OSX. Thanks to Tim Farris for reporting the issue present on MacOSX 10.10