Native fullscreen support in Firefox and Opera

I had to resize the elements in the resize event listener even when using native fullscreen, because otherwise in opera (at least on linux) the editor would have the height of the document instead of spanning the whole screen (probably a bug in opera). This exposed another bug: _exitFullscreen calls the native cancel/exit function, which in turn calls _exitFullscreen again.