fixes initialization of fullscreen width and height variables
Merge pull request #2085 from thiagohersan/fixFullscreenInit

Fix fullscreen initialization of width and height variables