The stageWidth/Height were not updating for html5 -Ddom when project window width and height were set to 0, i.e. when __fullscreen is true. It looks like __div == null is still needed for now though, so I left that in.
Merge pull request #245 from andresa88/html5-dom-resize-event

The stageWidth/Height were not updating for html5 -Ddom when project win...