Fixed full screen closing immediately

Fixed full screen closing immediately because of canvas container not being defined.
Merge pull request #2190 from DerKoun/incoming

Fix for full screen closing immediately