Fixed issue with graphics not being initialized before window resizing on OS X
xMerge branch 'master' of github.com:Potion/pocode